IAxis.Inch method

Commands a never-ending controlled motion at a specified velocity with a maximum distance. After the axis reaches the maximum distance it will automatically stop.

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
IInchCommand Inch(
       double distance,
       double velocity,
       double acceleration,
       double deceleration,
       double jerk,
       McDirection direction
)
Function Inch(
       distance As Double,
       velocity As Double,
       acceleration As Double,
       deceleration As Double,
       jerk As Double,
       direction As McDirection
)As IInchCommand

Parameters

distance

Type: double

The maximum distance traveled by this move.

 

velocity

Type: double

The value of the specified velocity. [unit/second]

 

acceleration

Type: double

The value of the acceleration. The unit is determined by McProfileType. (increasing energy of the motor) [unit/second2] or [second]

 

deceleration

Type: double

The value of the deceleration. The unit is determined by McProfileType. (decreasing energy of the motor) [unit/second2] or [second]

 

jerk

Type: double

The value of the jerk. The unit is determined by McProfileType. [unit/second3] or [second]

 

direction

Type: McDirection

The direction of the inch move. It's mcPositiveDirection or mcNegativeDirection.

Return value

Type: IInchCommand

Returns the properties of an inch move.

See also

IAxis Interface

IntervalZero.KINGSTAR.Base.Class Namespace